Skip to content

gpnf-override-parent-merge-tag-on-submission.php: reprocess calculations on submission based on changed parent form values #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

claygriffiths
Copy link
Contributor

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/1991241515/38165?folderId=3808239

Summary

Reprocess calculated values in a Nested Form when using the gpnf-override-parent-merge-tag-on-submission.php snippet. The calculated fields can be excluded using $exclude_field_ids.

…tions on submission based on changed parent form values
@claygriffiths claygriffiths force-pushed the clay/reprocess-calcs-in-override-gpnf-parent-merge-tag-values branch from cc3a81c to a225691 Compare September 2, 2022 16:51
Copy link
Contributor

@spivurno spivurno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dayum. Sneaky, sneaky.

This looks good. It does make me wonder if we need to account for changes in the order data when Pricing fields are involved but I say let's wait for a customer to report that scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants